﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopWlbPartnerAddress")]
    public class TopWlbPartnerAddress : BaseObject
    {
        //begin
        public TopWlbPartnerAddress()
        {}
        public TopWlbPartnerAddress(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Province;
        public string Province
        {
            get
            {
                return _Province;
            }
            set
            {
                SetPropertyValue("Province", ref _Province, value);
            }
        }
        private string _City;
        public string City
        {
            get
            {
                return _City;
            }
            set
            {
                SetPropertyValue("City", ref _City, value);
            }
        }
        private string _Borough;
        public string Borough
        {
            get
            {
                return _Borough;
            }
            set
            {
                SetPropertyValue("Borough", ref _Borough, value);
            }
        }
        private string _Address;
        public string Address
        {
            get
            {
                return _Address;
            }
            set
            {
                SetPropertyValue("Address", ref _Address, value);
            }
        }
        private string _Zip;
        public string Zip
        {
            get
            {
                return _Zip;
            }
            set
            {
                SetPropertyValue("Zip", ref _Zip, value);
            }
        }
        private TopWlbSellerSubscription _TopWlbSellerSubscription;
        public TopWlbSellerSubscription WlbSellerSubscription
        {
            get
            {
                return _TopWlbSellerSubscription;
            }
            set
            {
                SetPropertyValue("TopWlbSellerSubscription", ref _TopWlbSellerSubscription, value);
            }
        }
        //end

    }
}
